package online;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

//MapperScan注释可以扫描该包下所有文件，认为Mapper，达到不用再该包下每个文件都标注@Mapper注解
//@MapperScan("online.mapper")
//开启异步注解
@EnableAsync
//开启定时任务注解
@EnableScheduling
@SpringBootApplication
public class SpringbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
    }
}
